package cc.liyinghao.common.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value = "好友申请表", description = "存储用户的好友申请信息")
public class SysAddContacts implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键 ID", example = "1")
    private Integer id;

    @ApiModelProperty(value = "申请人 ID（user_id）", example = "1001")
    private Integer userId;

    @ApiModelProperty(value = "被申请人 ID（contact_user_id）", example = "1002")
    private Integer contactUserId;

    @ApiModelProperty(value = "状态（0：待处理，1：已同意，2：已拒绝）", example = "0")
    private Byte status;

    @ApiModelProperty(value = "创建时间", example = "2025-02-23 12:00:00")
    private Date createTime;

    @ApiModelProperty(value = "更新时间", example = "2025-02-23 12:00:00")
    private Date updateTime;
}